package com.boot2.core.aop;

import lombok.extern.apachecommons.CommonsLog;

/**
 * @author zhangweilin
 * @description: xxxxx
 * @date 2019/1/19
 */
@CommonsLog
public abstract class AbstractBeanSelfAware<T> implements BeanSelfAware<T> {

    protected T self;

    @Override
    public void setSelf(T proxy) {
        log.info("注入自己,proxy: " + proxy);
        self = proxy;
    }

}
